// pages/subcard/subcard.js
const app = getApp();
Page({
  /**
   * 页面的初始数据
   */
  data: {
    statusBarHeight: app.globalData.statusBarHeight,
    fullHeight: app.globalData.fullcontain,
    navmess:{
      navtitle: "次卡账户",
      backhide: 0,
      topheight: 1
    },
    // 次卡信息列表
    onceCardList: [
      {
        "id": 1,
        "onceCardName": "美甲霸王卡",
        "onceCardNo": "888823090392039",
        "deadline": "2020-05-22",
        "createTime": "2020-05-22",
        "photoUrl": "url",
        "userProjectList": [
          {
            "orderProjectId": 1,
            "projectName": "贴片甲",
            "projectCatNamePath": null,
            "projectNo": null,
            "orderNo": null,
            "comeFrom": null,
            "originalPrice": null,
            "quantity": null,
            "giveQuantity": null,
            "totalQuantity": 12,
            "remainingQuantity": 4,
            "useQuantity": 8
          }
        ]
      },
      {
        "id": 1,
        "onceCardName": "美甲霸王卡",
        "onceCardNo": "888823090392039",
        "deadline": "2020-05-22",
        "createTime": "2020-05-22",
        "photoUrl": "url",
        "userProjectList": [
          {
            "orderProjectId": 1,
            "projectName": "贴片甲",
            "projectCatNamePath": null,
            "projectNo": null,
            "orderNo": null,
            "comeFrom": null,
            "originalPrice": null,
            "quantity": null,
            "giveQuantity": null,
            "totalQuantity": 12,
            "remainingQuantity": 4,
            "useQuantity": 8
          }
        ]
      },
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  }
})